package com.leyou.mapper;

import com.leyou.domian.Brand;
import com.leyou.domian.Category;
import com.leyou.dto.BrandDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BrandMapper extends Mapper<Brand> {
    void insertBrandAndCategory(@Param("cids") List<Long> cids, @Param("bid") Long id);

    List<BrandDto> findBrandByCid(Long cid);
}
